package org.example.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class JwtProperties {
    /**
     * 生成jwt令牌相关配置
     */
//    @Value("${jsdu}")
    private String secretKey = "jsdu";
//    @Value("${7200000}")
    private long time = 7200000;
//    @Value("${token}")
    private String tokenName = "token";
}
